#ifndef OHOS_SUB_EXAMPLE_DEMO_STUB_H
#define OHOS_SUB_EXAMPLE_DEMO_STUB_H

#include "demo_interface.h"
#include "iremote_stub.h"

namespace OHOS {
class DemoStub : public IRemoteStub<IDemo> {
public:
  DemoStub();
  ~DemoStub();
  int32_t OnRemoteRequest(uint32_t code, MessageParcel& data, MessageParcel& reply, MessageOption& option) override;
private:
  int32_t StartRemoteAbilityInner(MessageParcel& data, MessageParcel& reply);  
};
}
#endif
